package com.assignwork.entity.pc;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName PcShipEfficiency
 * @Description
 * @Author sl
 * @Date 2023/10/13 10:17
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "存栈日计划", description = "")
@TableName("pc_ship_efficiency")
public class PcShipEfficiency extends TenantEntity implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "主键")
    private Long id;

    @ApiModelProperty(name = "泊位名称", notes = "")
    private String berth;

    @ApiModelProperty(name = "是否本公司", notes = "")
    private Integer isThisCompany;

    @ApiModelProperty(name = "排序")
    private Integer ordering ;


    @TableField(value = "fe_import_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "铁矿出口作业效率", notes = "")
    private BigDecimal feImportEfficiency;


    @TableField(value = "fe_export_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "铁矿出口作业效率", notes = "")
    private BigDecimal feExportEfficiency;


    @TableField(value = "hue_import_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "有色矿进口作业效率", notes = "")
    private BigDecimal hueImportEfficiency;


    @TableField(value = "hue_export_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "有色矿出口作业效率", notes = "")
    private BigDecimal hueExportEfficiency;


    @TableField(value = "other_import_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "其他进口作业效率", notes = "")
    private BigDecimal otherImportEfficiency;


    @TableField(value = "other_export_efficiency", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(name = "其他出口作业效率", notes = "")
    private BigDecimal otherExportEfficiency;
}
